 while (1)
    {
        /* code */
        SElemType_t data;
        bool ret = pop(&data);
        if(ret == false){
            break;
        }
        printf("%d\n",data);
    }